#-------------------------------------------------
#
# Project created by QtCreator 2015-01-19T17:46:14
#
#-------------------------------------------------

QT       += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
linux:QMAKE_CXXFLAGS += -fPIC
TARGET = qtviewer_planetosm
TEMPLATE = app
DESTDIR = $$OUT_PWD/../bin

SOURCES += main.cpp\
	osm_frame_widget.cpp \
    osmtiles/cProjectionMercator.cpp \
    osmtiles/tilesviewer.cpp \
    osmtiles/urlDownloader.cpp \
    osmtiles/layer_tiles.cpp \
    osmtiles/layer_browser.cpp \
    osmtiles/layer_tiles_page.cpp \
	listen_thread.cpp
	

HEADERS  += osm_frame_widget.h \
    osmtiles/cProjectionMercator.h \
    osmtiles/tilesviewer.h \
    osmtiles/urlDownloader.h \
    osmtiles/layer_tiles.h \
    osmtiles/layer_browser.h \
    osmtiles/layer_interface.h \
    osmtiles/viewer_interface.h \
    osmtiles/layer_tiles_page.h \
    interface_utils.h \
    listen_thread.h \
    tb_interface/cmdlineparser.h \
    tb_interface/tb_interface.h

FORMS    += osm_frame_widget.ui \
    osmtiles/layer_tiles_page.ui

win32{
message ($$QMAKE_COMPILER)
equals(QMAKE_COMPILER, msvc) {
    message (" VS Complier, UTF-8 switch is on.")
    QMAKE_CXXFLAGS += -utf-8
    QMAKE_CFLAGS += -utf-8
}
RC_FILE  = qtaxviewer_planetosm.rc
OTHER_FILES += \
	qtaxviewer_planetosm.rc\
	qtaxviewer_planetosm.ico\
	qtviewer_planetosm_zh_CN.ts
}

RESOURCES += \
    resource/resource.qrc

TRANSLATIONS += qtviewer_planetosm_zh_CN.ts

DISTFILES += \
	qtviewer_planetosm_zh_CN.qm \
	tb_interface/interface.json

